﻿/*
 *	Copyright (c) 2009 Queensland University of Technology. All rights reserved.
 *	The QUT Bioinformatics Collection is open source software released under the 
 *	Microsoft Public License (Ms-PL): http://www.microsoft.com/opensource/licenses.mspx.
 */
// TODO: get a proper WatermarkTextBox working in the WPF version.
namespace QUT.Bio.Util {
#if SILVERLIGHT

	/// <summary>
	/// Hide the underlying implementation of WatermarkedTextBox from Silverlight/Wpf build 
	/// environments in client code.
	/// </summary>

	public class WatermarkedTextBox : Microsoft.Windows.Controls.WatermarkedTextBox {
	}
#else
	/// <summary>
	///	A dummy control that stands in for the Silverlight WatermarkedText box.
	/// </summary>
	public class WatermarkedTextBox: System.Windows.Controls.TextBox {
	
		/// <summary>
		/// A dummy property, included for compatibility with the silverlight control. Setting this has no effect.
		/// </summary>
		public string Watermark {
			get;
			set;
		}
	}
#endif
}
